package com.course.domain;

import java.io.Serializable;
import java.util.Set;

public class Department implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 575023051274860032L;
	private Integer id;
	private String name;
	private College college;

	private Set< Specialty > specialties;
	private Set< Teacher > teachers;
	
	public Integer getId()
	{
		return id;
	}

	public void setId( Integer id )
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName( String name )
	{
		this.name = name;
	}

	public College getCollege()
	{
		return college;
	}

	public void setCollege( College college )
	{
		this.college = college;
	}

	public Set< Specialty > getSpecialties()
	{
		return specialties;
	}

	public void setSpecialties( Set< Specialty > specialties )
	{
		this.specialties = specialties;
	}

	public Set< Teacher > getTeachers()
	{
		return teachers;
	}

	public void setTeachers( Set< Teacher > teachers )
	{
		this.teachers = teachers;
	}

}
